behavior-driven development
A variation on the test-driven development process wherein the focus of the "tests" is to clearly describe the expected behavior of the system under test (SUT). The emphasis is on Tests as Documentation rather than merely using tests for verification.
Behavior-driven development can be done using traditional members of the xUnit family but new "members" of the family have been built specifically to emphasise the change in focus. This includes changes in terminology ("test" becomes "spec" and "fixture" becomes "context", etc.) and more explicit framework support for clarity of the specification.
Copyright © 2003-2008 Gerard Meszaros all rights reserved